package Week1.Solution_2;

import java.io.File;

public class MyClassLoaderTest {
    public static void main(String[] args) throws Exception{
        String classPath = "Hello.xclass";
        File outputFile = new File("Solution.class");
        MyClassLoader myclassloader = new MyClassLoader(classPath, outputFile);
        String packageNamePath = "";
        Class<?> myclass = myclassloader.loadClass(packageNamePath);
        System.out.println("类加载器：" + myclass.getClassLoader());

    }
}
